package com.gz.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "登录用户对象",description = "登录用户对象")
public class LoginUserVO implements Serializable {
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("第三方平台登录用户头像")
    private String userImg;
    @ApiModelProperty("第三方平台名称")
    private String provide;
    @ApiModelProperty("第三方平台的openId")
    private String openId;
    @ApiModelProperty("有效截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date validDate;
}
